home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
tpapi.exe
/
DOCS
/
OLDDOCS.LZH
/
NWPRINT.DOC
< prev
next >
Wrap
Text File
|
1992-10-26
|
11KB
|
272 lines
PRINT SERVICES
==============
--------------------------------------------------------------------------------
CancelLPTCapture : WORD;
Cancels a capture of default LPT device.
--------------------------------------------------------------------------------
CancelSpecificLPTCapture (LPTDevice : BYTE) : WORD;
Cancels the capture of a specified LPT device.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
--------------------------------------------------------------------------------
EndLPTCapture : WORD;
Ends the capture of the default LPT device.
--------------------------------------------------------------------------------
EndSpecificLPTCapture (LPTDevice : BYTE) : WORD;
Ends the capture of a specified LPT device.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
--------------------------------------------------------------------------------
FlushLPTCapture : WORD;
Closes the current capture of the default LPT device and starts another
capture.
--------------------------------------------------------------------------------
FlushSpecificLPTCapture (LPTDevice : BYTE) : WORD;
Closes the current capture of specified LPT device and starts another
capture.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
--------------------------------------------------------------------------------
GetBannerUserName (VAR BannerUserName : BannerUserNameType) : WORD;
Returns the user name that will be printed on a banner page.
BannerUserName (Output) : receives the user name.
--------------------------------------------------------------------------------
GetDefaultCaptureFlags (VAR CaptureFlags : Capture_Flags) : WORD;
Returns the print job flags for the default LPT device.
CaptureFlags (Output) : receives the capture flag settings.
--------------------------------------------------------------------------------
GetDefaultLocalPrinter : WORD;
Returns the number of the default LPT device to be used for capture calls.
--------------------------------------------------------------------------------
GetLPTCaptureStatus (VAR LPTServerNumber : WORD) : WORD;
Indicates whether the default capture is active.
LPTServerNumber (Output) : receives the current LPT server number.
--------------------------------------------------------------------------------
GetPrinterQueue (PrinterNumber : BYTE; VAR QueueID : OT_BinderyID) : WORD;
Returns the queue ID of the queue associated with specified printer number
on the file server.
PrinterNumber (Input) : number of the printer for which the
queueID will be returned.
QueueID (Output) : the queueID of the printer.
--------------------------------------------------------------------------------
GetPrinterStatus (PrinterNumber : BYTE; VAR PrinterHalted, PrinterOffLine,
FormType, TargetPrinter : BYTE) : WORD;
Returns the current status of a printer.
PrinterNumber (Input) : number of the printer for which the
status is to be returned.
PrinterHalted (Output) : 0 = printer is active.
255 = printer is inactive.
PrinterOffline (Output) : 1 = printer is offline.
FormType (Output) : receives the current mounted form.
TargetPrinter (Output) : returns the number of the printer that
jobs are to be printed on. Will be the
same as PrinterNumber unless server has
rerouted at the console.
--------------------------------------------------------------------------------
GetSpecificCaptureFlags (LPTDevice : BYTE;
VAR CaptureFlags : Capture_Flags) : WORD;
Returns the capture flags for the specified LPT device.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
CaptureFlags (Output) : receives the capture flag settings for
the specified LPT device.
--------------------------------------------------------------------------------
SetBannerUserName (BannerUserName : BannerUserNameType) : WORD;
Sets the user name that is printed on a banner page.
BannerUserName (Input) : contains the banner user name.
--------------------------------------------------------------------------------
SetCapturePrintJob (LPTDevice : BYTE; JobNumber : WORD;
VAR JobFileHandle) : WORD;
JobFileHandle is file handle of a previously opened file.
Assigns a print job and NetWare file handle to the next capture of specified
LPT device.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
JobNumber (Input) : the job number that QMS assigns to a
queue job entry in the queue.
JobFileHandle (Input) : file handle for the capture file
(6 BYTES) associated with the print queue job
entry.
--------------------------------------------------------------------------------
SetCapturePrintQueue (LPTDevice : BYTE; ConnectionID : BYTE;
QueueID : OT_BinderyID) : WORD;
Sets the queuing server and the target print queue (queue ID) for the next
capture of the specified LPT device.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
ConnectionID (Input) : specifies the number of the server that
queues the print jobs.
QueueID (Input) : contains the objectID of the print
queue where the jobs are to go.
--------------------------------------------------------------------------------
SetDefaultCaptureFlags (CaptureFlags : Set_Capture_Flags) : WORD;
Sets the capture flags for the default LPT device.
CaptureFlags (Input) : contains the new capture flag settings.
--------------------------------------------------------------------------------
SetDefaultLocalPrinter (LPTDevice : BYTE) : WORD;
Sets the default LPT device for capture files.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
--------------------------------------------------------------------------------
SetSpecificCaptureFlags (LPTDevice : BYTE;
CaptureFlags : Set_Capture_Flags) : WORD;
Sets the capture flags for the specified LPT device.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
CaptureFlags (Input) : contains the new capture flag settings.
--------------------------------------------------------------------------------
SetSpoolFlags (PrintFlags : BYTE; TabSize, PrinterNumber, NumberOfCopies,
FormType : WORD; BannerUserName : BannerUserNameType) : WORD;
Sets the spool flags at the file server that the print spooler will use when
printing a file.
PrintFlags (Input) : specifies one of the following
$20 = delete file after printing.
$40 = expand tabs to spaces.
$80 = print banner page.
TabSize (Input) : column width to which tabs should be
expanded.
PrinterNumber (Input) : number of the printer to print to.
NumberOfCopies (Input) : number of copies to print.
FormType (Input) : type of form which should be mounted.
BannerUserName (Input) : name that will appear on banner page.
--------------------------------------------------------------------------------
SpecifyCaptureFile (DirectoryHandle : BYTE; FilePath : PathNameType) : WORD;
Creates a spool capture file at the file specified by the user.
DirectoryHandle (Input) : points to an entry in the server's
Directory Handle Table. (ie A full
path)
FilePath (Input) : an absolute path or a path relative to
the directory handle specified in
DriveHandle. Contains the filename.
--------------------------------------------------------------------------------
StartLPTCapture : WORD;
Starts the capture of the default LPT device.
--------------------------------------------------------------------------------
StartsSpecificLPTCapture (LPTDevice : BYTE) : WORD;
Starts the capture of a specific LPT device.
LPTDevice (Input) : number of the LPT device.
00 = LPT1
01 = LPT2
02 = LPT3
------------------------------------------------------------------------------